﻿using OSS.BIM.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using ZFGK.ComponentModels;

namespace OSS.BIM.UI.PropertyGrids
{
    /// <summary>
    /// Class ProjectBinding.
    /// </summary>
    class ProjectBinding
    {
        /// <summary>
        /// 项目
        /// </summary>
        [Browsable(false)]
        public Project Project { get; set; }

        public ProjectBinding(Project userProject)
        {
            Project = userProject;
        }

        [SortedCategory("基本", 1)]
        [DisplayName("名称")]
        [Description("名称")]
        [Browsable(true)]
        [ReadOnly(false)]
        public string Name
        {
            get { return Project.Name; }
            set { Project.Name = value; }
        }

       
    }
}
